package com.mysoft.bmsdataexchange.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 描述：Transaction 实体配置
 *
 * @Auth yang.m.zhang
 * @Date 9/10/2018 2:11 PM
 * @Version 1.0
 */
@TableName("t_ru_transaction")
@Getter
@Setter
public class Transaction extends Model<Transaction> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String transactionId;

    private String taskStatus;

    private String taskRealId;

    private String assignee;

    private Integer pause;

    private Integer createUserId;

    private Long createDateTime;

    private Integer updateUserId;

    private Long updateDateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
